encoding/json.decodeState.readIndex (method)

22 uses

	encoding/json (current package)
		decode.go#L225: func (d *decodeState) readIndex() int {
		decode.go#L390: 		start := d.readIndex()
		decode.go#L394: 			if err := d.literalStore(d.data[start:d.readIndex()], v, false); err != nil {
		decode.go#L511: 		start := d.readIndex()
		decode.go#L608: 		start := d.readIndex()
		decode.go#L678: 		start := d.readIndex()
		decode.go#L680: 		item := d.data[start:d.readIndex()]
		decode.go#L881: 			d.saveError(&UnmarshalTypeError{Value: val, Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L922: 				d.saveError(&UnmarshalTypeError{Value: "bool", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L930: 				d.saveError(&UnmarshalTypeError{Value: "bool", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L944: 			d.saveError(&UnmarshalTypeError{Value: "string", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L947: 				d.saveError(&UnmarshalTypeError{Value: "string", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L967: 				d.saveError(&UnmarshalTypeError{Value: "string", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L989: 			d.saveError(&UnmarshalTypeError{Value: "number", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L997: 				d.saveError(&UnmarshalTypeError{Value: "number", Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L1005: 				d.saveError(&UnmarshalTypeError{Value: "number " + string(item), Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L1013: 				d.saveError(&UnmarshalTypeError{Value: "number " + string(item), Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L1021: 				d.saveError(&UnmarshalTypeError{Value: "number " + string(item), Type: v.Type(), Offset: int64(d.readIndex())})
		decode.go#L1092: 		start := d.readIndex()
		decode.go#L1094: 		item := d.data[start:d.readIndex()]
		decode.go#L1131: 	start := d.readIndex()
		decode.go#L1134: 	item := d.data[start:d.readIndex()]